﻿using System;

namespace NetCoreCMS.Models
{
    /// <summary>
    /// 会员组别
    /// </summary>    
    public partial class User_groups 
    { 
        public int id { get; set; }
        /// <summary>
        /// 组别名称
        /// </summary>
        public string title { get; set; }
        /// <summary>
        /// 会员等级值
        /// </summary>
        public int grade { get; set; } = 0;
        /// <summary>
        /// 升级经验值
        /// </summary>
        public int upgrade_exp { get; set; } = 0;
        /// <summary>
        /// 默认预存款
        /// </summary>
        public decimal amount { get; set; } = 0;
        /// <summary>
        /// 默认积分
        /// </summary>
        public int point { get; set; } = 0;
        /// <summary>
        /// 购物折扣
        /// </summary>
        public int discount { get; set; } = 0;
        /// <summary>
        /// 是否注册用户组
        /// </summary>
        public int is_default { get; set; } = 0;
        /// <summary>
        /// 是否自动升级
        /// </summary>
        public int is_upgrade { get; set; } = 0;
        /// <summary>
        /// 是否禁用
        /// </summary>
        public int is_lock { get; set; } = 0;
    }
}